home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
game_224.swf
/
scripts
/
DefineButton2_51
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2006-01-17
|
531b
|
24 lines
on(release){
call("/:NewDeal");
set("_level0/:AllowBet","0");
tellTarget("_level0/DealerCards")
{
gotoAndPlay(2);
}
tellTarget("_level0/PlayerCard01/card01")
{
gotoAndStop(random("52") + "2");
}
tellTarget("_level0/PlayerCard01/Card02")
{
gotoAndStop(random("52") + "2");
}
set("/:TotalBet",eval("/:CurrentBet"));
set("/:Money",eval("/:Money") - eval("/:CurrentBet"));
set("/:movingcard","deal");
tellTarget("/moving")
{
play();
}
}